Note: If you get a "Type mismatch" error when opening orders.db or customer.db then do the following.
(1) Open UnitObjectResultSetOrders, open the fields editor for the TQuery and delete and re-add OrderNo and CustNo.
(2) Open UnitObjectResultSetCustomer, open the fields editor for the TQuery and delete and re-add CustNo.
This error occurs because Borland distributes two versions of DBDEMOS. These versions differ in that one defines these fields as type integer and in the other the fields are of type float. In both cases they store an integer value. The TField components for these fields are created at design time and are of the data type found for the local copy of DBDEMOS. If a different version of DBDEMOS is used when running the program, the TField data type doesn't jibe with the data type of the field in the database, which results in the run time error.